$OpenBSD: patch-lgi_core_c,v 1.5 2013/12/30 08:00:03 jasper Exp $
--- lgi/core.c.orig	Thu Sep 12 20:55:48 2013
+++ lgi/core.c	Mon Dec 30 08:45:13 2013
@@ -620,7 +620,7 @@ set_resident (lua_State *L)
 }
 
 int
-luaopen_lgi_corelgilua51 (lua_State* L)
+luaopen_lgi_corelgilua${MODLUA_DEP_VERSION} (lua_State* L)
 {
   LgiStateMutex *mutex;
 
